package com.health.ts.entity.sysmanage;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * 菜单映射实体
 * 
 * @author Administrator
 */
@TableName("sys_menu")
public class SysMenu extends Model<SysMenu> {

	private static final long serialVersionUID = -3902328052100277523L;

	@TableId
	private String id;
	private String menu_name;
	private String menu_url;
	private String menu_desc;
	private String menu_icon;
	private String menu_type;
	private int menu_order;
	private String parent_id;
	private String menu_classify;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMenu_name() {
		return menu_name;
	}

	public void setMenu_name(String menu_name) {
		this.menu_name = menu_name;
	}

	public String getMenu_url() {
		return menu_url;
	}

	public void setMenu_url(String menu_url) {
		this.menu_url = menu_url;
	}

	public String getMenu_desc() {
		return menu_desc;
	}

	public void setMenu_desc(String menu_desc) {
		this.menu_desc = menu_desc;
	}

	public String getParent_id() {
		return parent_id;
	}

	public void setParent_id(String parent_id) {
		this.parent_id = parent_id;
	}

	public int getMenu_order() {
		return menu_order;
	}

	public void setMenu_order(int menu_order) {
		this.menu_order = menu_order;
	}

	public String getMenu_type() {
		return menu_type;
	}

	public void setMenu_type(String menu_type) {
		this.menu_type = menu_type;
	}

	public String getMenu_icon() {
		return menu_icon;
	}

	public void setMenu_icon(String menu_icon) {
		this.menu_icon = menu_icon;
	}

	public String getMenu_classify() {
		return menu_classify;
	}

	public void setMenu_classify(String menu_classify) {
		this.menu_classify = menu_classify;
	}
	
	@Override
	 public boolean equals(Object oo)  {
	        return (this.id.equals(((SysMenu)oo).getId()));
	 }  
	
	@Override
    public int hashCode() {
        return this.id.hashCode();
    }
}
